package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import springfox.documentation.oas.annotations.EnableOpenApi;

/**
 * @email: pengyujun53@163.com
 * @author: peng_YuJun
 * @date: 2024/1/9
 * @time: 11:30
 */

@EnableOpenApi
@SpringBootApplication
@MapperScan("com.example.mapper")
public class CampusMedicalApplication {

    public static void main(String[] args) {
        //SpringApplication.run(CampusMedicalApplication.class, args);
        new SpringApplicationBuilder(CampusMedicalApplication.class).bannerMode(Banner.Mode.LOG).run(args);
    }

}
